package com.eascs.web.o2o.web.reward.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name=" dim_reward_cm_rd_relation ")
@NamedQuery(name="CmRdRelation.findAll", query="SELECT o FROM CmRdRelation o")
public class CmRdRelation implements Serializable{

	/**
	 * 信贷经理与区域总监关系表映射实体类
	 */
	private static final long serialVersionUID = 123123123L;

	@Id
	private String id;    //id
	
	private String t_month;    //考核月份
	
	private String province_code;    //省区code
	
	private String province_name;    //省区名称
	
	private String cm_no;    //信贷经理no
	
	private String cm_code;    //信贷经理code
	
	private String cm_name;    //信贷经理姓名
	
	private String rd_no;    //区域总监no
	
	private String rd_code;    //区域总监code
	
	private String rd_name;    //区域总监姓名
	
	private String ltd;    //经营单位no
	
	private String ltd_code;    //经营单位code
	
	private String ltd_name;    //经营单位姓名
	
	private String is_lock;    //是否锁定
	
	private String create_user;    //创建人
	
	@Temporal(TemporalType.DATE)    
	private Date create_date;    //创建时间
	
	private String update_user;    //修改人
	
	@Temporal(TemporalType.DATE)
	private Date update_date;    //修改时间
	
	private String confirm_user;    //确认人
	
	@Temporal(TemporalType.DATE)
	private Date confirm_date;    //确认时间

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getT_month() {
		return t_month;
	}

	public void setT_month(String t_month) {
		this.t_month = t_month;
	}

	public String getProvince_code() {
		return province_code;
	}

	public void setProvince_code(String province_code) {
		this.province_code = province_code;
	}

	public String getProvince_name() {
		return province_name;
	}

	public void setProvince_name(String province_name) {
		this.province_name = province_name;
	}

	public String getCm_no() {
		return cm_no;
	}

	public void setCm_no(String cm_no) {
		this.cm_no = cm_no;
	}

	public String getCm_code() {
		return cm_code;
	}

	public void setCm_code(String cm_code) {
		this.cm_code = cm_code;
	}

	public String getCm_name() {
		return cm_name;
	}

	public void setCm_name(String cm_name) {
		this.cm_name = cm_name;
	}

	public String getRd_no() {
		return rd_no;
	}

	public void setRd_no(String rd_no) {
		this.rd_no = rd_no;
	}

	public String getRd_code() {
		return rd_code;
	}

	public void setRd_code(String rd_code) {
		this.rd_code = rd_code;
	}

	public String getRd_name() {
		return rd_name;
	}

	public void setRd_name(String rd_name) {
		this.rd_name = rd_name;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public String getLtd_code() {
		return ltd_code;
	}

	public void setLtd_code(String ltd_code) {
		this.ltd_code = ltd_code;
	}

	public String getLtd_name() {
		return ltd_name;
	}

	public void setLtd_name(String ltd_name) {
		this.ltd_name = ltd_name;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getIs_lock() {
		return is_lock;
	}

	public void setIs_lock(String is_lock) {
		this.is_lock = is_lock;
	}

	public String getCreate_user() {
		return create_user;
	}

	public void setCreate_user(String create_user) {
		this.create_user = create_user;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public String getUpdate_user() {
		return update_user;
	}

	public void setUpdate_user(String update_user) {
		this.update_user = update_user;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	public String getConfirm_user() {
		return confirm_user;
	}

	public void setConfirm_user(String confirm_user) {
		this.confirm_user = confirm_user;
	}

	public Date getConfirm_date() {
		return confirm_date;
	}

	public void setConfirm_date(Date confirm_date) {
		this.confirm_date = confirm_date;
	}
}
